home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Source Code / C / Games / Pentominoes 2.0 / Shell ƒ / file utilities.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-07-15  |  740 b   |  25 lines  |  [TEXT/MMCC]

  1. #ifndef __MY_FILE_UTILITIES_H__
  2. #define __MY_FILE_UTILITIES_H__
  3.  
  4. #ifdef __cplusplus
  5. extern "C" {
  6. #endif
  7.  
  8. extern    OSErr GetApplicationFSSpec(FSSpec *theFS);
  9. extern    OSErr GetApplicationVRefNum(short *vRefNum);
  10. extern    OSErr GetApplicationParID(long *parID);
  11. extern    OSType GetFileType(FSSpec *myFSS);
  12. extern    OSType GetFileCreator(FSSpec *myFSS);
  13. extern    unsigned long GetModificationDate(FSSpec *myFSS);
  14. extern    OSErr SetModificationDate(FSSpec *myFSS, unsigned long theDate);
  15. extern    OSErr TouchFolder(FSSpec *theFS);
  16. extern    OSErr FileExists(FSSpec *theFS);
  17. extern    void GetVersionString(Str255 theVersion);
  18. extern    pascal OSErr FSpLocationFromFullPath(short fullPathLength, const void *fullPath, FSSpec *spec);
  19.  
  20. #ifdef __cplusplus
  21. }
  22. #endif
  23.  
  24. #endif
  25.